package com.yeyks.common.appcommon.param.room;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import javax.validation.constraints.NotBlank;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author: gui
 * @date: 2019/6/19 0019 17:03
 */
@Data
@ApiModel(description = "获取单个客房信息的输入参数")
public class GetRoomParam implements Serializable {
    private static final long serialVersionUID = 3080742129529857988L;

    @ApiModelProperty("token的有效令牌")
    @NotBlank(message = "token的有效令牌不能为空")
    private String token;

    @ApiModelProperty(value = "版本号")
    private String version;

    @ApiModelProperty(value = "平台")
    private String platform;

    @ApiModelProperty(value = "客房ID")
    @NotNull(message = "客房ID不能为空")
    private Integer id;

}
